setGlobalDuration(10)

env = genAdsr()
sawtooth(pitch=150, envelope=env, out='saw')

lfo(bus='drv', amplitude=.5, offset=.5)
distortion(input='saw', drive=.999, cutoff=6000, driveVar='drv')

startCsound()